package com.example.mapper;

import com.example.entity.Feedback;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author HY
 * @date 2025/2/9
 */
@Mapper
public interface FeedbackMapper {

    void insert(Feedback feedback);

    void insertFeedbackImgs(@Param("feedbackId") Integer feedbackId,@Param("imgs") List<String> imgs);

    void updateById(Feedback feedback);

    List<Feedback> selectList(Feedback feedback);

    Feedback selectById(Integer id);
}
